<?php
/**
 * @filesource:					GardenModel.class.php
 * @desc:						模型类
 *
 * @author:						zhangzhao
 * @copyright:					zhangzhao@huigeyuan.com
 * @date:						2011-04-18
 */

class GardenModel extends Model{
	protected $_map = array(
	);

	protected $_validate = array(
		array('name','require', '陵园名不能为空！'),
        array('address','require', '地址不能为空！'),
        array('email','require', '地址不能为空！'),
        array('phone','require', '电话不能为空！'),

	);

//	protected $_auto = array(
//		array('status', 1),
//		array('create_time', 'time', Model::MODEL_INSERT, 'function'),
//
//	);
}

?>